import axios from '../../../axios'
export default {
    getOrdersList(params) {
        return axios({
            url: 'orders/getOrders',
            method: "get",
            params
        })
    },
    postOrdersAdd(data) {
        return axios({
            url: 'orders/postOrdersAdd',
            method: "post",
            data
        })
    },
    // applyOrders(data) {
    //     return axios({
    //         url: 'orders/applyOrders',
    //         method: "post",
    //         data
    //     })
    // },
    applyOrders(data) {
        return axios({
            url: 'orders/applyOrders',
            method: "post",
            data
        })
    },
    //获取单个订单信息
    getOrdersOne(data) {
        return axios({
            url: 'orders/getOrdersOne',
            method: "post",
            data
        })

    },

    deleteOrders(data) {
        return axios({
            url: 'orders/deleteOrders',
            method: "post",
            data
        })
    },
    getOrdersListId(params) {
        return axios({
            url: 'orders/getOrdersId',
            method: "get",
            params
        })
    },
    getOrdersSalesIdList(params) {
        return axios({
            url: 'orders/getOrdersSalesIdList',
            method: "get",
            params
        })
    },
}